package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 任务列表对象 iot_task_list
 * 
 * @author ruoyi
 */
public class IotTaskList
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 任务编码 */
    @Excel(name = "任务编码")
    private String taskCode;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String deviceCode;

    /** 任务状态 */
    @Excel(name = "任务状态", readConverterExp = "0=待执行,1=执行中,2=执行完成,3=执行失败")
    private Integer status;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Integer createTime;

    /** 更新时间 */
    @Excel(name = "更新时间")
    private Integer updateTime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }

    public void setTaskCode(String taskCode) 
    {
        this.taskCode = taskCode;
    }

    public String getTaskCode() 
    {
        return taskCode;
    }

    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setCreateTime(Integer createTime) 
    {
        this.createTime = createTime;
    }

    public Integer getCreateTime() 
    {
        return createTime;
    }

    public void setUpdateTime(Integer updateTime) 
    {
        this.updateTime = updateTime;
    }

    public Integer getUpdateTime() 
    {
        return updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskName", getTaskName())
            .append("taskCode", getTaskCode())
            .append("deviceCode", getDeviceCode())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}